.class Lcom/waiqin365/lightapp/order/af;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/product/eg;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/order/af;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public a(I)V
    .locals 8

    iget-object v0, p0, Lcom/waiqin365/lightapp/order/af;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/order/OrderInfoActivity;->g(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/e/b;->d(Ljava/lang/String;)D

    move-result-wide v0

    int-to-double v2, p1

    mul-double/2addr v2, v0

    const-wide/high16 v4, 0x4059000000000000L    # 100.0

    div-double/2addr v2, v4

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/af;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/order/OrderInfoActivity;->m(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)Landroid/widget/EditText;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5, v2, v3}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v5

    const-string/jumbo v6, ""

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v5

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v6

    const/4 v7, 0x0

    invoke-static {v5, v6, v7}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v4, p0, Lcom/waiqin365/lightapp/order/af;->a:Lcom/waiqin365/lightapp/order/OrderInfoActivity;

    invoke-static {v4}, Lcom/waiqin365/lightapp/order/OrderInfoActivity;->l(Lcom/waiqin365/lightapp/order/OrderInfoActivity;)Landroid/widget/TextView;

    move-result-object v4

    new-instance v5, Ljava/lang/StringBuilder;

    invoke-direct {v5}, Ljava/lang/StringBuilder;-><init>()V

    const-string/jumbo v6, "\u00a5"

    invoke-virtual {v5, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v5

    new-instance v6, Ljava/lang/StringBuilder;

    invoke-direct {v6}, Ljava/lang/StringBuilder;-><init>()V

    sub-double/2addr v0, v2

    invoke-virtual {v6, v0, v1}, Ljava/lang/StringBuilder;->append(D)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {}, Lcom/waiqin365/lightapp/product/e/b;->f()I

    move-result v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/product/e/b;->b(Ljava/lang/String;IZ)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
